package com.ruoyi.APPMS.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 车辆销售对象 vehiclesell
 *
 * @author 吴春梅
 * @date 2023-07-03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("vehicle")
public class Vehiclesell implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 车辆ID */
    @TableId(type = IdType.AUTO)
    private Long vehicleid;

    /** 车辆状态标记
     1：在供应商
     2：供应商to仓库
     3：在仓库
     4：仓库to客户
     5：在客户 */
    private Long status;

    /** 所在供应商ID */
    @Excel(name = "所在供应商ID")
    private Long supplierid;
    @TableField(exist = false)
    private String suppliername;

    /** 所在仓库ID */
    @Excel(name = "所在仓库ID")
    private Long warehouseid;
    @TableField(exist = false)
    private String warehousename;

    @TableField(exist = false)
    private String customername;

    @TableField(exist = false)
    private String contactnumber;

    @TableField(exist = false)
    private String address;


    /** 客户ID */
    private Long customerid;

    /** 销售员ID */
    private Long salespersonid;
    @TableField(exist = false)
    private String salespersonname;

    /** 车辆品牌 */
    @Excel(name = "车辆品牌")
    private String brand;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String model;

    /** 车身颜色 */
    @Excel(name = "车身颜色")
    private String color;

    /** 生产日期 */
    @Excel(name = "生产日期")
    private String manufacturedate;

    /** 发动机号 */
    @Excel(name = "发动机号")
    private String enginenumber;

    /** 车架号 */
    @Excel(name = "车架号")
    private String vin;

    /** 进价 */
    private Long primeprice;

    /** 售价 */
    @Excel(name = "售价")
    private Long price;

    /** 更新时间 */
    private String modifytime;

    /** 删除标记 */
    @TableLogic
    private Long deleted;

    /** 核载人数 */
    @Excel(name = "核载人数")
    private Long seatingcapacity;

    /** 发动机类型 */
    @Excel(name = "发动机类型")
    private String enginetype;

    /** 排量 */
    @Excel(name = "排量")
    private Long enginedisplacement;

    /** 功率 */
    @Excel(name = "功率")
    private Long power;

    /** 车轴数量 */
    @Excel(name = "车轴数量")
    private Long axlesnumber;

    /** 车轴距离 */
    @Excel(name = "车轴距离")
    private Long wheelbase;

    /** 前轮距 */
    @Excel(name = "前轮距")
    private Long fronttrack;

    /** 后轮距 */
    @Excel(name = "后轮距")
    private Long reartrack;

    /** 满载总质量 */
    @Excel(name = "满载总质量")
    private Long grossvichcleweight;

    /** 汽车整备质量 */
    @Excel(name = "汽车整备质量")
    private Long curbweight;
}
